<?php

if (!defined('BASEPATH'))
    exit('No direct script access allowed');

class mwidgets extends MY_Model {

    var $theme_data = array(
        'layout_main' => 'layout',
        'left' => 'include/leftcp',
    );
    public $mytable = "youtube";
    public $primaryKey = "YOUT_ID";
    public $resCode = "YOUTUBE";

    function __construct() {
        parent::__construct();
		$this->load->library('get_data_html');
    }

    function field() {
		$fieldData = array();
		$fieldData['YOUT_TYPE'] = '';
		$fieldData['YOUT_LINK'] = '';
		$fieldData['YOUT_TITLE'] = '';
		$fieldData['YOUT_PARENT'] = 0;
		$fieldData['YOUT_STATUS'] = 1;
		$fieldData['YOUT_TIME_CREATE'] = time();
		return $fieldData;
    }
	
}

?>